const fs = require('fs')
const path = require('path')

window.addEventListener('DOMContentLoaded', () => {
  fs.readFile(path.join(__dirname, '../config.json'), 'utf8', (err, data) => {
    if (err) {
      console.error(err)
      return
    }
    const data0 = JSON.parse(data)
    document.getElementById('data0').innerText = data0.baseUrl
  })
})
